package com.greyu.ysj.mapper;

import com.greyu.ysj.entity.CbtMinerRatio;
import com.greyu.ysj.entity.CbtMinerRatioExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CbtMinerRatioMapper {
    long countByExample(CbtMinerRatioExample example);

    int deleteByExample(CbtMinerRatioExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CbtMinerRatio record);

    int insertSelective(CbtMinerRatio record);

    List<CbtMinerRatio> selectByExample(CbtMinerRatioExample example);

    CbtMinerRatio selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CbtMinerRatio record, @Param("example") CbtMinerRatioExample example);

    int updateByExample(@Param("record") CbtMinerRatio record, @Param("example") CbtMinerRatioExample example);

    int updateByPrimaryKeySelective(CbtMinerRatio record);

    int updateByPrimaryKey(CbtMinerRatio record);
}